package com.example.imitationoftodaysheadlines;

public class NewsBean {
    private String title;// 标题
    private String name;// 来自
    private String comment; // 评论
    private String time;// 时间
    private Integer imgList;//图片地址

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public  Integer
    getImgList() {
        return imgList;
    }

    public void setImgList( Integer imgList) {
        this.imgList = imgList;
    }


    public NewsBean(String title, String name, String comment, String time, Integer imgList) {
        this.title = title;
        this.name = name;
        this.comment = comment;
        this.time = time;
        this.imgList = imgList;
    }
}
